<?php
/*
 * @ https://EasyToYou.eu - IonCube v11 Decoder Online
 * @ PHP 7.2 & 7.3
 * @ Decoder version: 1.1.6
 * @ Release: 10/08/2022
 */

// Decoded file for php version 71.
class PHPExcel_WorksheetIterator implements Iterator
{
    private $subject;
    private $position = 0;
    public function __construct(PHPExcel $subject = NULL)
    {
        $this->subject = $subject;
    }
    public function __destruct()
    {
        unset($this->subject);
    }
    public function rewind()
    {
        $this->position = 0;
    }
    public function current()
    {
        return $this->subject->getSheet($this->position);
    }
    public function key()
    {
        return $this->position;
    }
    public function next()
    {
        $this->position++;
    }
    public function valid()
    {
        return $this->position < $this->subject->getSheetCount();
    }
}

?>